Holds informations about a registered test class. More...
Public Member Functions | |
| RegisteredTestClass () | |
Public Member Functions inherited from nkDebug::TestClass | |
| TestClass () noexcept | |
| TestClass (nkMemory::StringView name) noexcept | |
| virtual | ~TestClass () |
| FunctionSet & | getFunctionSet () |
| const FunctionSet & | getFunctionSet () const |
| std::function< bool()> | getClassInitFunction () const |
| std::function< void()> | getClassShutdownFunction () const |
| std::function< bool()> | getFunctionInitFunction () const |
| std::function< void()> | getFunctionShutdownFunction () const |
| nkMemory::StringView | getName () const |
| bool | setClassInitFunction (std::function< bool()> func) |
| bool | setClassShutdownFunction (std::function< void()> func) |
| bool | setTestFunctionInitFunction (std::function< bool()> func) |
| bool | setTestFunctionShutdownFunction (std::function< void()> func) |
| void | setName (nkMemory::StringView value) |
| void | execute (const TestRunParameters ¶meters) const |
Static Public Member Functions | |
| static TestClass * | factoryFunc () |
Static Public Attributes | |
| static TestClass * | _registered = UnitTester::registerTestClass(&factoryFunc) |
| Registering witness. | |
Holds informations about a registered test class.
This is used internally within the registering system.
| T | The underlying TestClass type. |
| T_NAME | The name linked to the class. |
|
inline |
Default constructor.
|
inlinestatic |
Factory creation function.